﻿@model InfoLogic.Models.Contact

@{
    ViewBag.Title = "Contact";
}

<h2>Contact Details</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.cellNumber)*@
            Cell Number
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.cellNumber)
            @Html.ValidationMessageFor(model => model.cellNumber)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.emailAddress)*@
            Email Address
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.emailAddress)
            @Html.ValidationMessageFor(model => model.emailAddress)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.telNumber)*@
            Telephone Number
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.telNumber)
            @Html.ValidationMessageFor(model => model.telNumber)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.website)*@
            Website
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.website)
            @Html.ValidationMessageFor(model => model.website)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>

         
    </fieldset>
}

<@*div>
    @Html.ActionLink("Back to List", "Index")
</div>*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
